package com.wxzz.elearing.evaluation.dto;

import com.wxzz.elearing.evaluation.entity.BusinessCategory;
import com.wxzz.elearing.evaluation.entity.Topic;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;


@Data
public class BusinessCategoryTopicIsPassDto {

    @NotNull(message = "请传入类型 0-工厂体检 1-星级认证 2-能力测评")
    @ApiModelProperty(value = "类型 0-工厂体检 1-星级认证 2-能力测评")
    private Integer type;

    @NotNull(message = "请传入工厂体检/星级认证/能力测评id")
    @ApiModelProperty(value = "工厂体检/星级认证/能力测评id")
    private Long commonId;

    @ApiModelProperty(value = "使用时间")
    private String useTime;

    @ApiModelProperty(value = "分组")
    private List<BusinessCategory> businessCategorys;

    @ApiModelProperty(value = "题目")
    private List<Topic> topicList;
}
